package com.xy.etl.ibatis.core;

 import com.xy.etl.ibatis.node.XySQLSuperNode;

public class XySQLStackVO {
    private boolean endFlag = false;
    private Class<? extends XySQLSuperNode> nodeClass;

    private XySQLSuperNode node;

    public XySQLStackVO(Class<? extends XySQLSuperNode> nodeClass, boolean endFlag) {
        this.endFlag = endFlag;
        this.nodeClass = nodeClass;
    }

    public XySQLStackVO(XySQLSuperNode node, boolean endFlag) {
        this.endFlag = endFlag;
        this.node = node;
    }

    public boolean isEndFlag() {
        return endFlag;
    }

    public Class<? extends XySQLSuperNode> getNodeClass() {
        return nodeClass;
    }

    public XySQLSuperNode getNode() {
        return node;
    }

}
